From: | Curt Esser |
Date: | 13 Aug 99 at 00:43:48 |
Subject: | Re: Cybergraphics displays :( |
Hi Oliver
On 12-Aug-99, Oliver Marks wrote:
>> Oliver Marks wrote:
>>> I am trying to display a planar bitmap on cybergraphics screen i am
>>> converting the planar display to a chunky display and then trying to
>>> display it using writepixelarray it does not work can anyone tell what
>>> is wrong from the code below?
>>
>> You've got a bitmap and you've got a Window. Why not use BitmapToWindow
>> ?
>
> I want the bitmap attached to the screen.
I don't have a GFX board, so somebody who does PLEASE correct me if I'm
wrong...
But it is my understanding that you can't draw or display anything directly
on a GFX card screen - you must always use a window.
Why not open a full-screen backdrop window - then you can WritePixelArray8_
to that.
>
> the window which is opened has planar shapes attached to it.
>
> Does bitmaptowindow work with chunky bitmaps
No
> i assumed it would only
> work with planar bitmaps ?
Yes, but you can "BitMapToWindow" a planar bitmap direct to a window on a
GFX card screen. I know this works - I've had people test it. It's
certanily not the best way to provide GFX card support, but it is possible.
You can also Wblit to a GFX card window - in fact, any of the Window drawing
commands will work OK.
But since you already have a chunky "bitmap" the best thing is to
WritePixelArray8_ it to a window for GFX cards, and convert it to a planar
bitmap for non-GFX-card systems.
Later...
Yours electronically,
Curt Esser
camge@ix.netcom.com
http://members.xoom.com/Curt_Esser/
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie